package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生获奖对象 t_student_certificate
 * 
 * @author gk
 * @date 2023-08-15
 */
@Data
@ApiModel("学生获奖对象")
public class TStudentCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 奖状 */
    @Excel(name = "奖状")
    @ApiModelProperty("奖状")
    private String certificateOfMerit;

    /** 证书 */
    @Excel(name = "证书")
    @ApiModelProperty("证书")
    private String certificate;

    /** 获奖内容 */
    @Excel(name = "获奖内容")
    @ApiModelProperty("获奖内容")
    private String content;

    /** 学生id */
    @Excel(name = "学生id")
    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("获奖名称")
    private String name;

    @ApiModelProperty("类型 1报名 0活动 默认0")
    private Integer type;

    @ApiModelProperty("活动/课程 id")
    private Long activityId;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCertificateOfMerit(String certificateOfMerit) 
    {
        this.certificateOfMerit = certificateOfMerit;
    }

    public String getCertificateOfMerit() 
    {
        return certificateOfMerit;
    }
    public void setCertificate(String certificate) 
    {
        this.certificate = certificate;
    }

    public String getCertificate() 
    {
        return certificate;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("certificateOfMerit", getCertificateOfMerit())
            .append("certificate", getCertificate())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("studentId", getStudentId())
            .toString();
    }
}
